<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>父节点</h2>
<ul>
    <li>北京</li>
    <li>上海</li>
    <li>广州</li>
    <li>重庆</li>
</ul>
<script type="text/javascript">
//node.parentNode
    var hai=document.getElementsByTagName('li')[1];
    console.log(hai.parentNode);
</script>
</body>
</html>